  <div class="site-showcase">
    <!-- Start Page Header -->
    <div class="parallax page-header" style="background-image:url(http://placehold.it/1200x260&amp;text=Blog+Detail);">
          <div class="container">
              <div class="row">
                  <div class="col-md-12">
                      <h1><?php echo __('Blog Detail') ?></h1>
                  </div>
             </div>
         </div>
    </div>
    <!-- End Page Header -->
  </div>  
  <style>
  .post-meta ul li{
	  display:block;
	  position:relative;
	  float:left;
	  margin-right:2px;
	  padding:2px;
  }
  blockquote p {
  font-family: Georgia,serif;
  font-style: italic;
  font-size: 13px;
  line-height: 20px;
  margin: 0 0 15px;
}

  </style>
  <!-- Start Content -->
  <div class="main" role="main">
    <div id="content" class="content full">
      <div class="container">
        <div class="row">
          <div class="col-md-9">
            <header class="single-post-header clearfix"> <?php //pr($blogPost); ?>
              <h2 class="post-title"><?php 
			  $this->set('title_for_layout',$blogPost['BlogPost']['title']);
			  echo h($blogPost['BlogPost']['title']); ?></h2>
            </header>
            <article class="post-content">
                  <div class="post-meta meta-data">
                      <span><i class="fa fa-calendar"></i> Posted on  <?php 
					//   echo $this->Time->format($blogPost['BlogPost']['created'], '%b %e, %Y %I:%m %p');
					//  echo '<br/>';
					   echo $this->Time->format('F jS  Y, h:i A',$blogPost['BlogPost']['created']);
					 //  echo $this->Time->format('F jS  Y, h:i A','2015-02-01');
					   //  echo date($blogSettings['published_format_on_post_index'], $createdTimestamp); ?></span>
                      <span><i class="fa fa-user"></i><?php echo __('By');   if(isset($blogPost['User'])) echo ' '.$blogPost['User']['first_name'].' '.$blogPost['User']['last_name']; ?></span>
                    <span><i class="fa fa-tag"></i> <?php echo __('Categories'); ?>:  
          <?php echo $this->Blog->navTag($blogPost['BlogPostCategory'], array('url' => array('action' => 'index'))); ?>
     </span>
                    <!--<span><a href="#comments"><i class="fa fa-comment"></i> 188 Comments</a></span>-->
                </div>
              <div class="featured-image"> 
              <?php 
			  if($blogPost['BlogPost']['image1'])
				echo $this->Html->image('/files/blog/'.$blogPost['BlogPost']['image1']);
			  ?>
              
              </div>
              <blockquote><?php  echo ($this->Text->autoParagraph(h($blogPost['BlogPost']['body']))); ?>
              </blockquote>
              <div class="post-meta"> <i class="fa fa-tags"></i><?php echo $this->Blog->navTag($blogPost['BlogPostTag'], array('url' => array('action' => 'index'))); ?>
              <!--<a href="#">Sold</a>, <a href="#">Property</a>--> </div>
            </article>
         <!--   <section class="post-comments" id="comments">
              <h3><i class="fa fa-comment"></i> Comments (4)</h3>
              <ol class="comments">
                <li>
                  <div class="post-comment-block">
                    <div class="img-thumbnail"> <img src="http://placehold.it/150x150&amp;text=IMAGE+PLACEHOLDER" alt="avatar"> </div>
                    <h5>John Doe says</h5>
                    <span class="meta-data">Nov 23, 2013 at 7:58 pm</span>
                    <p>Curabitur nec nulla lectus, non hendrerit lorem. Quisque lorem risus, porttitor eget fringilla non, vehicula sed tortor. Proin enim quam, vulputate at lobortis quis, condimentum at justo. Phasellus nec nisi justo. Ut luctus sagittis nulla at dapibus. Aliquam ullamcorper commodo elit, quis ornare eros consectetur a.</p>
                  </div>
                </li>
                <li>
                  <div class="post-comment-block">
                    <div class="img-thumbnail"> <img src="http://placehold.it/150x150&amp;text=IMAGE+PLACEHOLDER" alt="avatar"> </div>
                    <h5>John Doe says</h5>
                    <span class="meta-data">Nov 23, 2013 at 7:58 pm</span>
                    <p>Curabitur nec nulla lectus, non hendrerit lorem. Quisque lorem risus, porttitor eget fringilla non, vehicula sed tortor. Proin enim quam, vulputate at lobortis quis, condimentum at justo. Phasellus nec nisi justo. Ut luctus sagittis nulla at dapibus. Aliquam ullamcorper commodo elit, quis ornare eros consectetur a.</p>
                  </div>
                </li>
                <li>
                  <div class="post-comment-block">
                    <div class="img-thumbnail"> <img src="http://placehold.it/150x150&amp;text=IMAGE+PLACEHOLDER" alt="avatar"> </div>
                    <h5>John Doe says</h5>
                    <span class="meta-data">Nov 23, 2013 at 7:58 pm</span>
                    <p>Curabitur nec nulla lectus, non hendrerit lorem. Quisque lorem risus, porttitor eget fringilla non, vehicula sed tortor. Proin enim quam, vulputate at lobortis quis, condimentum at justo. Phasellus nec nisi justo. Ut luctus sagittis nulla at dapibus. Aliquam ullamcorper commodo elit, quis ornare eros consectetur a.</p>
                  </div>
                </li>
              </ol>
            </section>
            <section class="post-comment-form">
              <h3><i class="fa fa-share"></i> Post a comment</h3>
              <form>
                <div class="row">
                  <div class="form-group">
                    <div class="col-md-4 col-sm-4">
                      <input type="text" class="form-control input-lg" placeholder="Your name">
                    </div>
                    <div class="col-md-4 col-sm-4">
                      <input type="email" class="form-control input-lg" placeholder="Your email">
                    </div>
                    <div class="col-md-4 col-sm-4">
                      <input type="url" class="form-control input-lg" placeholder="Website (optional)">
                    </div>
                  </div>
                </div>
                <div class="row">
                  <div class="form-group">
                    <div class="col-md-12">
                      <textarea cols="8" rows="4" class="form-control input-lg" placeholder="Your comment"></textarea>
                    </div>
                  </div>
                </div>
                <div class="row">
                  <div class="form-group">
                    <div class="col-md-12">
                      <button type="submit" class="btn btn-primary btn-lg">Submit your comment</button>
                    </div>
                  </div>
                </div>
              </form>
            </section>-->
          </div>
          <!-- Start Sidebar -->
		  <?php  echo $this->element('bolg-side-bar'); ?>
          
        </div>
      </div>
    </div>
  </div>
